/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable no-undef */
const fs = require('fs');

const packageTxt = fs.readFileSync('package.json', 'utf8');
const packageJson = JSON.parse(packageTxt);

packageJson.main = './out/extension.js';
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2), 'utf8');

